package hcn.protocol.ods.report;

import ctd.util.xml.jaxb.DateTimeAdapter;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by jinxin on 2016/6/14.
 */
@XmlRootElement(name = "examReport")
public class ExamCrisisDetailBean implements Serializable{
    private static final long serialVersionUID = 4128624694822331749L;

    private String orgId;
    private String sourceId;
    private String sourceFrom;
    private String crisisContent;   //危急值内容
    private String dealMan;         //处理人
    private Date dealDt;            //处理时间
    private String dealFlag;        //处理标记
    private String dealOpinion;     //处理意见

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceFrom() {
        return sourceFrom;
    }

    public void setSourceFrom(String sourceFrom) {
        this.sourceFrom = sourceFrom;
    }

    public String getCrisisContent() {
        return crisisContent;
    }

    public void setCrisisContent(String crisisContent) {
        this.crisisContent = crisisContent;
    }

    public String getDealMan() {
        return dealMan;
    }

    public void setDealMan(String dealMan) {
        this.dealMan = dealMan;
    }

    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getDealDt() {
        return dealDt;
    }

    public void setDealDt(Date dealDt) {
        this.dealDt = dealDt;
    }

    public String getDealFlag() {
        return dealFlag;
    }

    public void setDealFlag(String dealFlag) {
        this.dealFlag = dealFlag;
    }

    public String getDealOpinion() {
        return dealOpinion;
    }

    public void setDealOpinion(String dealOpinion) {
        this.dealOpinion = dealOpinion;
    }
}
